/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.nct.logger;

import org.nct.Interface.ILogger;

/**
 *
 * @author annn
 */
public class MyLogger implements ILogger {

    private static MyLogger _Instance;

    public static MyLogger getInstance() {
        if (_Instance == null) {
            return _Instance = new MyLogger();
        }
        return _Instance;
    }
    private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(MyLogger.class.getName());

    @Override
    public void Error(String msg) {
        log.info(msg);
    }

    @Override
    public void Info(String msg) {
        log.info(msg);
    }

    @Override
    public void Debug(String msg) {
        log.info(msg);
    }

    @Override
    public void Warn(String msg) {
        log.info(msg);
    }

}
